package Dahinh;

public abstract class TwoDimensionalShape extends Shape{

	private int dimension1;
	private int dimension2;
	public TwoDimensionalShape(int d1, int d2) {
		super();
		dimension1 = d1;
		dimension2 = d2;
	}
	
	public int getDimension1() {
		return dimension1;
	}


	public void setDimension1(int dimension1) {
		this.dimension1 = dimension1;
	}


	public int getDimension2() {
		return dimension2;
	}


	public void setDimension2(int dimension2) {
		this.dimension2 = dimension2;
	}


	public abstract double getArea();

	


}
